﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web/Site.Master" AutoEventWireup="true"
    CodeBehind="AccueilCompte.aspx.cs" Inherits="Ingebet.Web.AccueilCompte" Theme="Thème1" %>

<asp:Content ID="HeadContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <div style="float: left">
        <asp:Label ID="_lblBienvenue" Text="Bienvenue " runat="server" Style="font-size: x-large" />
    </div>
    <div class="menu">
        <asp:Menu ID="Menu" Width="500px" runat="server" Orientation="Horizontal" StaticEnableDefaultPopOutImage="False"
            OnMenuItemClick="Menu_MenuItemClick">
            <Items>
                <asp:MenuItem Text="   Accueil   " Value="0"></asp:MenuItem>
                <asp:MenuItem Text="   Paris en cours  " Value="1"></asp:MenuItem>
                <asp:MenuItem Text="   Resultat des paris  " Value="2"></asp:MenuItem>
                <asp:MenuItem Text="   Mon profil   " Value="3"></asp:MenuItem>
            </Items>
        </asp:Menu>
    </div>
    <div class="main">
        <asp:MultiView ID="MultiView" runat="server" ActiveViewIndex="0">
            <asp:View ID="Tab1" runat="server">
                <div style="color:Red ; font-size:large">
                    <asp:Label ID="lblError" Text="" runat="server" />
                </div>
                <div>
                    <br />
                    <asp:Label ID="Label4" Text="Paris Proposés : " runat="server" Style="margin-left: inherit" />
                    <br />
                    <br />
                    <br />
                    <div style="clear: both">
                        <asp:DataGrid ID="GridRencontres" runat="server" PageSize="5" AllowPaging="True"
                            AutoGenerateColumns="False" CellPadding="3" BackColor="White" BorderColor="#CCCCCC"
                            BorderStyle="None" BorderWidth="1px" Width="100%" OnItemCommand="GridRencontres_ItemCommand">
                            <Columns>
                                <asp:BoundColumn DataField="RencontreID" Visible="false"></asp:BoundColumn>
                                <asp:BoundColumn HeaderText="Competition" DataField="Competition"></asp:BoundColumn>
                                <asp:BoundColumn HeaderText="Equipe1" DataField="Equipe1"></asp:BoundColumn>
                                <asp:BoundColumn HeaderText="Equipe2" DataField="Equipe2"></asp:BoundColumn>
                                <asp:BoundColumn HeaderText="Date" DataField="DateMatch"></asp:BoundColumn>
                                <asp:BoundColumn HeaderText="Gain" DataField="CoteGain"></asp:BoundColumn>
                                <asp:BoundColumn HeaderText="Null" DataField="CoteEgalite"></asp:BoundColumn>
                                <asp:BoundColumn HeaderText="Perte" DataField="CotePerte"></asp:BoundColumn>
                                <asp:ButtonColumn CommandName="select" Text="Parier"></asp:ButtonColumn>
                            </Columns>
                            <FooterStyle BackColor="White" ForeColor="#000066" />
                            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                            <ItemStyle ForeColor="#000066" />
                            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" Mode="NumericPages" />
                            <SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        </asp:DataGrid>
                    </div>
            </asp:View>
            <asp:View ID="Tab2" runat="server">
                <br />
                <asp:Label ID="Label5" Text="Pari en cours : " runat="server" Style="margin-left: inherit" />
                <br />
                <br />
                <br />
                <asp:DataGrid ID="GridParisUtilisateur" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="3" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                    Width="100%" AllowSorting="True">
                    <Columns>
                        <asp:BoundColumn HeaderText="Competition" DataField="Competition"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Equipe1" DataField="Equipe1"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Equipe2" DataField="Equipe2"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Gain" DataField="CoteGain"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Null" DataField="CoteEgalite"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Perte" DataField="CotePerte"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Date du Pari" DataField="DatePari"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Montant" DataField="Montant"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Pari Sur" DataField="Resultat"></asp:BoundColumn>
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <ItemStyle ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" Mode="NumericPages" />
                    <SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                </asp:DataGrid>
            </asp:View>
            <asp:View ID="Tab3" runat="server">
                <br />
                <asp:Label ID="Label1" Text="Resultat des paris : " runat="server" Style="margin-left: inherit" />
                <br />
                <br />
                <br />
                <asp:DataGrid ID="GridResultat" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="3" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                    Width="100%" AllowSorting="True">
                    <Columns>
                        <asp:BoundColumn HeaderText="Competition" DataField="Competition"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Equipe1" DataField="Equipe1"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Equipe2" DataField="Equipe2"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Date du Pari" DataField="DatePari"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Montant" DataField="Montant"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Parier Sur" DataField="PariResultat"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Resultat" DataField="Resultat"></asp:BoundColumn>
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <ItemStyle ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" Mode="NumericPages" />
                    <SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                </asp:DataGrid>
            </asp:View>
            <asp:View ID="Ta4" runat="server">
                <br />
                <asp:Label ID="Label6" Text="Mon Profil : " runat="server" Style="margin-left: inherit" />
                <br />
                <br />
                <br />
                <div class="accountInfo" runat="server">
                    <p>
                        <asp:Label ID="lblNom" Text="Nom :" runat="server" />
                        <asp:TextBox ID="txtNom" runat="server" />
                    </p>
                    <p>
                        <asp:Label ID="lblPrenom" Text="Prenom :" runat="server" />
                        <asp:TextBox ID="txtPrenom" runat="server" />
                    </p>
                    <p>
                        <asp:Label ID="lblEmail" Text="Email :" runat="server" />
                        <asp:TextBox ID="txtEmail" runat="server" />
                    </p>
                    <p>
                        <asp:Label ID="lblPass" Text="Password :" runat="server" />
                        <asp:TextBox ID="txtPass" runat="server" />
                    </p>
                    <p>
                        <asp:Label ID="lblNbrPoint" Text="Vos points :" runat="server" Enabled="true" />
                        <asp:TextBox ID="txtNbrPoint" runat="server" Enabled="true" />
                    </p>
                    <p>
                        <asp:Button ID="btnModifier" Text="Modifier Profil" runat="server" OnClick="btnModifier_Click" />
                    </p>
                    <p>
                        <asp:Button ID="btnEnregistrer" Text="Enregistrer" runat="server" OnClick="btnEnregistrer_Click"
                            Visible="false" />
                    </p>
                </div>
            </asp:View>
        </asp:MultiView>
    </div>
</asp:Content>